package com.yunxin.core.application.command.order;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zero°
 * @since 2023-06-07
 */
@Data
@Schema(description = "操作分配订单状态对象")
public class OperateAllocationOrderStatusCommand implements Serializable {

    /**
     * id
     */
    @Schema(description = "id")
    @NotNull(message = "id不能为空")
    private Long id;
    /**
     * 订单状态 1.待处理 2.待跟进 3.有效客户 4.无效客户
     */
    @Schema(description = "订单状态 1.待处理 2.待跟进 3.有效客户 4.无效客户")
    @NotNull(message = "订单状态不能为空")
    private Integer orderStatus;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;
    /**
     * 操作人
     */
    @Schema(hidden = true)
    private String operator;

}
